# -*- coding: utf-8 -*-

"""
* Copyright (C) 2016 GridSafe, Inc.
"""
from apps.wallet.forms import ShareForm
from django.http import HttpResponseRedirect


def add(request):
    """"""
    context = {}
    user = request.user
    if request.method == 'POST':
        form = ShareForm(request.POST)
        if form.is_valid():
            f = form.save(commit=False)
            f.user = user.id
            f.save()
            return Ht


